import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import ElementPlus from 'element-plus'
import 'virtual:svg-icons-register'
import SvgIcon from "./components/Svglcon.vue"
import Layui from '@layui/layui-vue'
import VueGallery from 'vue-gallery';



import 'element-plus/dist/index.css'

import './css/style.css'
import './css/font.css'
import '@layui/layui-vue/lib/index.css'
import './assets/iconfont.js'



import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)




for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
app.use(ElementPlus)
app.use(Layui)
app.component("svg-icon",SvgIcon)
app.component('VGallery', VueGallery)

app.mount('#app')







